package cn.kgc.itrip.service.impl;

import cn.kgc.itrip.dto.Dto;
import cn.kgc.itrip.pojo.ItripUser;

public interface TokenService {

    //生成token
    String addToken(ItripUser doRegister, String userAgent)throws Exception;


    //置换token
    Dto retoken(String token, String userAgent)throws Exception;
}
